package com.yxw.live_vod_boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxw.live_vod_boot.entity.YxSysShareEntity;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
 * @author liuxin
 * 2023.10.07
 * 分享管理
 */
@Repository
public interface ShareMapper extends BaseMapper<YxSysShareEntity> {
    /**
     * 查询用户有过直播分享的店铺
     * @param userId
     * @return
     */    
    List<Long> getLiveShopIdsByUserId(@Param("userId") Long userId);
}
